<?php
    #TODO: Content Delivery System Items
    #-------------------------------------------------- 
    #TODO: Strict/Lazy 404 handling
    #TODO: Write wordpress application for impliedcrosswalk
    
    
    #FAQ: How to Override Loading the templates. Say, loading as a PHP file instead
    #FAQ: Documentation passthrough filter (.php)
    #FAQ: User FAQ writing as a QA round
    #FAQ: How do I specify loading my content
    #FAQ: How to I write and configure a processor
    #FAQ: How does config.xml work.
    #FAQ: Rewrite Rule
    #FAQ: mod_rewrite passthrough as cache
    #FAQ: Or Have users inherit base class if need be?
    #FAQ: Ship with example customizations of some kind
    
    require_once('ContentCourier.php');
    require_once('ContentCourierDeployment.php');
    
    $options['base-file-path'] = $_SERVER['DOCUMENT_ROOT'].'/content_store';
    $options['config-uri']     = 'config.xml';
    $cds = new ContentCourier($options,'FileSystem');
    $cds->render();
?>
<?php
    #DONE: Cleanup class and variable names.  Give Project real name ContentCourier
    #DONE: TODO: Thrown an exception if the XML can't be loaded
    #DONE: TODO: If we can't find the defaultContentURI, throw an exception
    #DONE: TODO: If parsing anything from an XML file gives up blanks, throw an exception
    #DONE: TODO: Write alanstorm.com application
    #DONE: TODO: normalize URI case ... don't normalize attribute case in code
    #DONE: NOT DOING : TODO: Process Template as PHP?
    #DONE: TODO: One Line Description
    #DONE: TODO: Protect config.xml from prying eyes
    #DONE: TODO: Deploy once changes are merged in
    #DONE: TODO: del-2008.php
    #DONE: TODO: Contact Form
    #DONE: TODO: Merge Changes
    #DONE: TO DO: Rewrite content loader as abstract?
    #DONE: TO DO: Comment the code with phpdoc
    #DONE: TO DO: Custom Templates
    #DONE: NOT DOING : TO DO: Implement Static URI
    #DONE: TO DO: Implement processing rules.  Allow custom processing rules per site, section, or piece of content
    #DONE: TO DO: passthrough, **unless** there's a map node pesent
    #DONE: TO DO: assets mod_rewirte passthrough
    #DONE: TO DO: Implement Valid URI (exceptions?)
    #DONE: TO DO: Handle 404 Not Found
    #DONE: NOT DOING: TO DO: Handle 403 Not Found
    #DONE: TO DO: Replace config load method
    #DONE: NOT DOING : TO DO: Why a server error? http://impliedcrosswalk.org/assets/foo/
    #DONE: NOT DOING : TO DO: move constructor to initialize method
    #DONE: NOT DOING :TO DO: Get all in source control
    #DONE: TODO: Live About section
    #DONE: TODO: Add css.php to live site
    #DONE: TODO: Compare local include with live includes
    #DONE: TODO: Sort out old .htaccess stuff, including /site/ business in old templates
    #DONE: TODO: Modify archiver to take into accont tt4
    #DONE: TODO: Copyright to 
    #DONE: TODO: Allow <maps /> to have their own processors
    #DONE: TODO: Fully abstract Contnet Loader and processorts
    #DONE: TODO: Top of old template logic
    #DONE : TODO: Merge Changes with alanstorm.com
?>